package cn.gcyl.module.biz.controller.admin.platformregistrationinformation.vo;

import cn.gcyl.framework.common.pojo.PageParam;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;

import static cn.gcyl.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "app - 用户平台报名 Request VO")
@Data
public class AppPlatformUserRegistrationReqVO extends PageParam {

    @Schema(description = "平台信息id", example = "13248")
    private Long platformInformationId;
    @Schema(description = "用户id", example = "13248")
    private Long userId;

    @Schema(description = "所属栏目")
    private String titleType;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

    /**
     * 所属分类(代理商 厂家 专业分包)
     */
    private String category;
    /**
     * 报名字段内容
     */
    private String registrationNames;
    /**
     * 公司
     */
    private String company;
    /**
     * 参会人姓名
     */
    private String attendeeName;
    /**
     * 部门
     */
    private String department;
    /**
     * 电话
     */
    private String phone;
    /**
     * 职位
     */
    private String position;

}